<template>
	<view>
		uid1:{{userInfo.uid}}
	</view>
</template>

<script setup>
	import {
		loginApi,
		getUserInfoApi
	} from '@/api/apis.js'
	const userInfo = ref({})
	const getUserInfo = async ()=>{
		const {data:{uInfo:{uid,ficoin,isvip}}} = await getUserInfoApi()
		userInfo.value = {
			uid,
			ficoin,
			isvip
		}
	}
	getUserInfo();
</script>

<style lang="scss">

</style>
